package com.hex.ds.hdrs.app.converter;

import com.hex.ds.hdrs.app.dto.AppConfDto;
import com.hex.ds.hdrs.app.dto.AppGroupRelationDto;
import com.hex.ds.hdrs.app.po.AppGroupRelationPo;
import org.mapstruct.Mapper;

/**
 * @Package com.hex.ds.hdrs.app.converter
 * @ClassName IAppGroupRelationConverter
 * @Description 应用与应用组关联业务转换器
 * @Author yu liuyang
 * @Date 2023/4/18 14:16
 * @Version v1.0
 **/
@Mapper(componentModel = "spring")
public interface IAppGroupRelationConverter {


    /**
     * @Method toAppGroupRelation <br>
     * @Param [appAdminRelationDto] <br>
     * @Return com.hex.ds.hdrs.app.po.AppGroupRelation <br>
     * @Description 将AppGroupRelationDto转换成AppGroupRelation <br>
     * @Author yu liuyang <br>
     * @Date 2023/4/18 14:16 <br>
     * @Version V1.0 <br>
     */
    AppGroupRelationPo toAppGroupRelation(AppGroupRelationDto appAdminRelationDto);

    /**
     * @Method toAppGroupRelationDto <br>
     * @Param [appConfDto] <br>
     * @Return com.hex.ds.hdrs.app.dto.AppGroupRelationDto <br>
     * @Description 将AppConfDto转换成AppGroupRelationDto <br>
     * @Author yu liuyang <br>
     * @Date 2023/4/18 14:16 <br>
     * @Version V1.0 <br>
     */
    AppGroupRelationDto toAppGroupRelationDto(AppConfDto appConfDto);
}
